package org.cloudie.docs.editor.client.commands.generic;

import org.cloudie.docs.editor.client.commands.Command;

public class BrowserOpenCommand extends Command {

  public final static int serialUid = 8;
	 
  private String url, name;
  
  public BrowserOpenCommand(String url, String name) {
    super("Open page in browser.");
    this.url = url;
    this.name = name;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }
  
  @Override
  public int getCommandId() {
    return serialUid;
  }

}
